class individual():
    def __init__(self,inPid,inAge,inSex,inemployment,ingeo):
        self.pid=inPid        
        self.age=inAge
        self.employment=inemployment
        self.geo=ingeo
        self.sex=inSex

        self.data=[]
        self.data.append(self.pid)
        self.data.append(self.age)
        self.data.append(self.sex)
        self.data.append(self.employment)
        self.data.append(self.geo)
        
    def isEmployed(self):
        if self.employment is "employed" : return True
        else: return False
    def hire(self):
        self.employment="employed"
        
    def toArray(self):
        return [self.pid, self.age,self.sex,self.employment,self.geo]
    
    def add1Year(self):
        self.age+=1
    
    def __repr__(self):
        return "Individual Object Pid:%s" % self.pid